package com.gylang.common.model.form;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

/**
 * @author gylang,
 * @data 2019/12/4 17:15,
 * @DESC
 */
@Data
public class RePassWdForm {

    @Email(message = "邮箱格式不正确")
    @NotBlank(message = "邮箱不能为空")
    private String mail;
    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotBlank(message = "验证码不能为空")
    private String code;
    @NotBlank(message = "密码不能为空")
    private String password;
}
